//
//  JGContentsCell.m
//  JGAdRolling
//
//  Created by JJetGu on 15-7-13.
//  Copyright (c) 2015年 JJetGu. All rights reserved.
//

#import "JGContentsCell.h"
#import "JGContents.h"

@interface JGContentsCell ()

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@property (weak, nonatomic) IBOutlet UIImageView *iconView;

@end

@implementation JGContentsCell

-(void)setContents:(JGContents *)contents
{
    _contents = contents;
    
    self.titleLabel.text = NSString(@"  %@", contents.title);
    self.iconView.image = [UIImage imageNamed:contents.icon];
    
}

@end
